<?php

//Edit this settings
$db_host="localhost";
$db_user="root";
$db_password="dell2006";
$db_dbname="mail";

/* ======== End of settings ========= */

$conect = mysql_connect($db_host, $db_user, $db_password);

// if error
if (!$conect) die ("<h1>Database connection FAIL!</h1>");

// define database      
$db = mysql_select_db($db_dbname);

?>
